
#import <Foundation/Foundation.h>

@class DmPage;
@protocol IDvPageView <NSObject>
- (float)getScale;
- (DmPage*)getPage;
- (UIView*)getView;
- (UIView *)getTouchView;
- (float)getWidth;
- (float)getHeight;

- (CGPoint)convertPdfPtToPageViewPt:(FSPointF*)point;
- (CGRect)convertPdfRectToPageViewRect:(FSRectF *)rect;
- (FSPointF*)convertPageViewPtToPdfPt:(CGPoint)point;
- (FSRectF *)convertPageViewRectToPdfRect:(CGRect)rect;

- (CGPoint)pageViewToDocViewerPoint:(CGPoint)point pageIndex:(int)index;
- (CGRect)pageViewToDocViewerRect:(CGRect)rect pageIndex:(int)index;
- (CGPoint)docViewerToPageViewPoint:(CGPoint)point pageIndex:(int)index;
- (CGRect)docViewerToPageViewRect:(CGRect)rect pageIndex:(int)index;


- (float)pdfToPageViewLineWidth:(float)width;
- (float)pageViewToPdfLineWidth:(float)width;

- (void)invalidate:(CGRect)rect;
- (void)invalidateForModify:(CGRect)rect;

- (void)invalidate:(CGRect)rect WithDraw:(DrawWithAnnot)drawWithAnnot;

@end
